<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
 <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/default.css" />
 
<script src="${pageContext.request.contextPath}/js/JS_CheckForm.js" language="JavaScript"></script>

<title>添加常量类型</title>
</head>
<body bgcolor="#ffffff" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
    <s:form name="addCategoryType" action="saveCategoryType" method="POST" theme="simple">
  		<table height="100%" width="100%" cellspacing="1" cellpadding="2" border="0" bgcolor="#336600">
    		<tbody>
    			<tr> 
      				<td height="26" bgcolor="#669900" colspan="2">
      					<font color="#ffffff">::添加常量类型</font>
      				</td>
    			</tr>
    			<tr bgcolor="#eeeeee"> 
      				<td height="26" width="10%" align="right">名称：</td>
      				<td height="26" width="90%"> 
      				   <s:textfield name="categoryTypeTo.name" cssClass="bginput" size="30" maxLength="100"></s:textfield>
        				<font color="#ff0000">[必填]</font>
        			</td>
    			</tr>
    			<tr bgcolor="#eeeeee"> 
      				<td height="26" width="10%" align="right">常量值：</td>
      				<td height="26" width="90%"> 
      				   <s:textfield name="categoryValues" cssClass="bginput" size="70" maxLength="100"></s:textfield>
        				<font color="#ff0000">[多个值以(,)逗号分隔]</font>
        			</td>
        		</tr>
    			<tr bgcolor="#eeeeee"> 
      				<td height="26" width="10%" align="right">描述：</td>
      				<td height="26" width="90%"> 
      				   <s:textarea name="categoryTypeTo.description" rows="3" cols="40"> </s:textarea>
      				  
        				<font color="#ff0000">[必填]</font>
        			</td>
    			</tr>
    			<tr bgcolor="#eeeeee" align="left"> 
	    			<td height="26" width="10%" align="right"></td>
 					<td height="30" width="90%"> 
 					   <s:submit value="保存"></s:submit>
              		   <input type="button" onclick="history.go(-1)" value="　返  回　" class="button" name="YL">
   					</td>
	    		</tr>
  			</tbody>
  		</table>
	</s:form>
</body>
</html>